package cn.yangliu.service;

import cn.yangliu.entity.SettingDetail;
import cn.yangliu.jpa.base.service.JpaService;

/**
 * @author 问道于盲
 * @date 2021-09-28
 */
public interface SettingDetailService extends JpaService<SettingDetail, Long> {

    /**
     * 根据配置id查询配置详细信息
     *
     * @param settingId 配置id
     * @return 配置详细信息
     */
    SettingDetail findBySettingId(Long settingId);

    /**
     * 根据配置id删除配置详细
     *
     * @param settingId 配置id
     */
    void deleteBySettingId(Long settingId);
}
